package com.pattern.once.builder;

import com.pattern.once.templates.BenchiCar;
import com.pattern.once.templates.Car;

import java.util.List;

public class BenchiCarBuilder extends CarBuilder {

    private BenchiCar benchiCar = new BenchiCar();

    @Override
    public void setSequence(List<String> list) {
        this.benchiCar.setList(list);
    }

    @Override
    public Car getCar() {

        return benchiCar;
    }
}
